/**
 * @Author 韦建韩
 * @Date 2022/3/24
 */
package com.zczn.order_system.exception;

public class CustomException extends RuntimeException{
    private Integer code;
    public CustomException(Integer code, String message){
        super(message);
        this.code = code;
    }
    public Integer getCode(){
        return code;
    }
}
